package com.yuyou.fn.educational.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * 学生外部成绩表
 *
 */
@TableName(value = "external_measure_score")
public class ExternalMeasureScore implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<ExternalMeasureScore> createExample(){
		return new Example<ExternalMeasureScore>(ExternalMeasureScore.class);
	}

	/**  */
	@TableId(value = "external_measure_score_id")
	private Long externalMeasureScoreId;

	/**  */
	@TableField(value = "student_id")
	private Long studentId;

	/** 名字 */
	@TableField(value = "student_name")
	private String studentName;

	/** 电话 */
	@TableField(value = "student_phone_no")
	private String studentPhoneNo;

	/** 学生编号 */
	@TableField(value = "student_no")
	private String studentNo;

	/**  */
	@TableField(value = "grade_id")
	private Long gradeId;

	/**  */
	@TableField(value = "grade_name")
	private String gradeName;

	/**  */
	@TableField(value = "subject_id")
	private Long subjectId;

	/**  */
	@TableField(value = "subject_name")
	private String subjectName;

	/** 0无效，1有效 */
	private Integer validity;

	/** 外部成绩类型 0:无 1:中考成绩 2:学业诊断名次 */
	@TableField(value = "score_type")
	private Integer scoreType;

	/**  */
	private Double score;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	public Long getExternalMeasureScoreId() {
		return this.externalMeasureScoreId;
	}

	public void setExternalMeasureScoreId(Long externalMeasureScoreId) {
		this.externalMeasureScoreId = externalMeasureScoreId;
	}

	public Long getStudentId() {
		return this.studentId;
	}

	public void setStudentId(Long studentId) {
		this.studentId = studentId;
	}

	public String getStudentName() {
		return this.studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	public String getStudentPhoneNo() {
		return this.studentPhoneNo;
	}

	public void setStudentPhoneNo(String studentPhoneNo) {
		this.studentPhoneNo = studentPhoneNo;
	}

	public String getStudentNo() {
		return this.studentNo;
	}

	public void setStudentNo(String studentNo) {
		this.studentNo = studentNo;
	}

	public Long getGradeId() {
		return this.gradeId;
	}

	public void setGradeId(Long gradeId) {
		this.gradeId = gradeId;
	}

	public String getGradeName() {
		return this.gradeName;
	}

	public void setGradeName(String gradeName) {
		this.gradeName = gradeName;
	}

	public Long getSubjectId() {
		return this.subjectId;
	}

	public void setSubjectId(Long subjectId) {
		this.subjectId = subjectId;
	}

	public String getSubjectName() {
		return this.subjectName;
	}

	public void setSubjectName(String subjectName) {
		this.subjectName = subjectName;
	}

	public Integer getValidity() {
		return this.validity;
	}

	public void setValidity(Integer validity) {
		this.validity = validity;
	}

	public Integer getScoreType() {
		return this.scoreType;
	}

	public void setScoreType(Integer scoreType) {
		this.scoreType = scoreType;
	}

	public Double getScore() {
		return this.score;
	}

	public void setScore(Double score) {
		this.score = score;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
